<!DOCTYPE html>
<html lang="zh-CN">
<head>
<title>${categoryMap['c'+cid!]}_${site.name}</title> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="keywords" content="${site.keywords}">
<meta name="description" content="${site.description}">
<link href="favicon.ico" rel="shortcut icon">
<link type="text/css" rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css" />
<link type="text/css" rel="stylesheet" href="${url}/template/themes/default/css/style.css" />
<link type="text/css" rel="stylesheet" href="${url}/template/themes/default/css/shCoreDefault.css" />
<link type="text/css" rel="stylesheet" href="http://cdn.bootcss.com/font-awesome/4.4.0/css/font-awesome.min.css">
</head>
<body>
<?include("header.html",{}){}?>
<div id="main-wrap">
	<div class="container two-col-container">
        <div id="main-wrap-left">
			<section class="content-area">
				<?for(a in page.list!) {?>
				<article class="list-post"> 
					<div class="thumb-img thumbnail">
					<a href="${url}">
						<img src="${url}${a.thumb}" alt="${a.title}" original="${url}${a.thumb}">
					</a> 
					<span class="cat"><a href="${url}/html/list_${a.category!}.html" rel="category">${categoryMap['c'+a.category!]}${a.category}</a></span> 
					</div>
					<div class="entry-header">
						<h3><a href="${url}/html/show_${a.id!}.html" title="${a.title}" rel="bookmark">${a.title}</a></h3>
					</div>
					<div class="entry-content">
						<div class="article-content">
							<p${str.getIntro(a.content!,0,300)}...</p>
						</div>
						<span class="title-l"></span>
						<?if(aLP.index <= 3){?>
						<span class="new-icon">最新</span>
						<?}?>
						<span class="entry-meta">
							<span class="date"><i class="fa fa-clock-o"></i> ${a.create_time!}</span>
							<span class="comments">
								<a href="${url}/html/show_${a.id!}.html#reply" title="${a.title!}的评论"><i class="fa fa-comments-o"></i> ${a.reply_num!0}</a>
							</span>
							<span class="views"> <i class="fa fa-eye"></i> ${a.read_num!0}</span>
						</span>
						<div class="clear"></div>
					</div>
					<span class="entry-more"><a href="${url}/html/show_${a.id!}.html" rel="bookmark">阅读全文</a></span>
				</article>
				<?}?>
			</section>
			<div class="re-lb right">
				<?include("page.html",{}){}?>
			</div>
		</div>
<div id="sidebar">
	<div class="widget">
        <h3><span class="widget-title">随机推荐</span></h3>
   		<ul class="tin-tab group thumbs-enabled">
   		<?for(a in blocks['list.random']!){?>
		<li>
			<div class="left">
				<div class="tab-item-thumbnail">
					<a href="${url}/html/show_${a.id!}.html" title="${a.title!}">
						<div class="thumb-img">
							<img src="${url}${a.thumb}" alt="${a.title!}" original="${url}${a.thumb}">
						</div>
					</a>
				</div>
						
				<div class="tab-item-inner group">
					<p class="tab-item-title"><a href="${url}/html/show_${a.id!}.html" rel="bookmark" title="${a.title!}"></a></p>
					<span class="tab-item-date"><i class="fa fa-clock-o"></i> ${a.create_time,'yyyy年MM月dd日'}</span>&nbsp;
				</div>
			</div>
			<div class="technical-sw">
				<p style="text-indent: 2em;">${str.getIntro(a.content!,0,250)}...</p>
			</div>
		</li>
		<?}?>
		</ul>
	</div>
        </div>
    </div>
</div>
<script type="text/javascript" src="http://cdn.bootcss.com/jquery/1.10.1/jquery.min.js"></script>
<script type="text/javascript" src="http://cdn.bootcss.com/jquery.lazyload/1.9.1/jquery.lazyload.min.js"></script>
<script type="text/javascript" src="http://cdn.bootcss.com/jquery-validate/1.9.0/jquery.validate.min.js"></script>
<script type="text/javascript" src="http://cdn.bootcss.com/jquery.form/3.51/jquery.form.min.js"></script>
<script type="text/javascript" src="${url}/template/themes/${site.theme}/js/index.js"></script>
<?include("footer.html"){}?>
<?include("sign.html"){}?>
</body>
</html>